<?php
class UserGroup extends Doctrine_Record
{
    public function setTableDefinition()
    {
        $this->setTableName('person.users_groups');
        
        $this->hasColumn('user_id', 'integer', null, array('primary'=>true));
        $this->hasColumn('group_id', 'integer', null, array('primary'=>true));
    }
}
?>